package edu.predatorwars.shared.models;

import java.util.UUID;

import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;

public class CharacterListPayload extends Message {

	Creature[]  characterList;
	
	@JsonCreator
	public CharacterListPayload(@JsonProperty("characterList") Creature[] creatures, @JsonProperty("gameId") UUID gameId) {
		super(gameId, MessageType.CharacterList);
		this.characterList = creatures;
	}
	
	public Creature[]  getCharacterList() {
		return characterList;
	}
}
